<?php

/**
 * XHTML_Hr, xhtml_lib
 * 
 * This file contains the source code for the XHTML_Hr class.
 * @author Fernando Jimenez Mocobono <fjmcool@gmail.com>
 * @version 0.1
 * @package xhtml_lib
 */

include_once "XHTML_Common_Element.php";
include_once "XHTML__Blocktext.php";

/**
 * The XHTML_Hr class is a handler for the hr xhtml-strict tag as a part
 * of a xhtml-strict php-handler implementation.
 */
class XHTML_Hr extends XHTML_Common_Element implements XHTML__Blocktext {
    
    // Methods

    // Overriding the toString method for a proper implementation.
    
    /**
    * Returns the string representation for echoing the class atributes.
    *
    * @return string
    */
    function toString()
    {
        $auxString = "<hr".parent::toString();
        
        $auxString = $auxString."/>";
        
        return $auxString;
    }
    
}

?>